System and method for creating storage containers in a data storage system

ABSTRACT

Various implementations of the invention create storage containers in a data storage system. A computing processor receives a new data record to be stored in a data storage container which is configured to store a fixed number of stored data records. The computing processor determines whether a number of the plurality of stored data records in the data storage container is within a certain threshold of the fixed number of stored data records for the data storage container. For data storage containers residing in a sequential data space, when the number of records is within the certain threshold, the computing processor opens a new data storage container, stores the new data record in the new data storage container, and closes the data storage container to new data records. For the data storage containers residing in a finite data space, when the number of records is within the certain threshold, the computing processor opens a new data storage container, splits the plurality of stored data records in the data storage container into a first plurality of stored data records and a second plurality of stored data records, where each of the first plurality of stored data records has a data value within a first range, and where each of the second plurality of stored data records has the data value within a second range. The computing processor stores the first plurality of stored data records in the data storage container, stores the second plurality of the stored data records in the new data storage container. The computing processors stores the new data record in either the data storage container or the new data storage container based on whether the data value in the new data record corresponds to the first range or the second range.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. Provisional Patent ApplicationNo. 61/913,227, which was filed on Dec. 6, 2013, and is incorporatedherein by reference as if reproduced below in its entirety.

FIELD OF THE INVENTION

The invention is generally related to data storage and moreparticularly, to a highly scalable, highly available online data storagesystem.

BACKGROUND OF THE INVENTION

Various conventional data storage systems attempt to manage bothscalability and availability of online data storage assets. However,these conventional data storage systems typically are either overlycomplex or dramatically over specify the number of data storage assetsrequired by the system.

Furthermore, these conventional data storage systems are typicallycumbersome to query, particularly when configured to optimize aspects ofthe data storage system rather than ease of querying.

What are needed are improved systems and methods for storing andretrieving data, especially in an online, real-time data storage system.What are further needed are such systems that are optimized for variousforms of querying.

SUMMARY OF THE INVENTION

In various implementations of the invention, a method for creatingstorage containers in a data storage system receives, via a computingprocessor, a new data record to be stored in a data storage container,the data storage container configured to store a fixed number of storeddata records, the data storage container storing a plurality of storeddata records; determines whether a number of the plurality of storeddata records in the data storage container is within a certain thresholdof the fixed number of stored data records for the data storagecontainer; for the data storage container that resides in a sequentialdata space: opens a new data storage container, stores the new datarecord in the new data storage container, and closes the data storagecontainer to new data records; and for the data storage container thatresides in a finite data space: opens a new data storage container,splits the plurality of stored data records in the data storagecontainer into a first plurality of stored data records and a secondplurality of stored data records, wherein each of the first plurality ofstored data records has a data value within a first range, and whereineach of the second plurality of stored data records has the data valuewithin a second range, stores the first plurality of stored data recordsin the data storage container, stores the second plurality of the storeddata records in the new data storage container, and stores the new datarecord in either the data storage container or the new data storagecontainer based on whether the data value in the new data recordcorresponds to the first range or the second range.

These implementations, their features and other aspects of the inventionare described in further detail below.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a data storage system according to variousimplementations of the invention.

FIG. 2 illustrates an operation of a data storage system according tovarious implementations of the invention.

FIG. 3 illustrates a spill mechanism over to a new data storagecontainer once an existing data storage container reaches its capacityaccording to various implementations of the invention.

FIGS. 4 and 5 illustrate a split mechanism over to one or more new datastorage container(s) once an existing data storage container reaches itscapacity according to various implementations of the invention.

FIG. 6 illustrates an operation of a data storage system as data storagecontainers approach capacity according to various implementations of theinvention.

FIG. 7 illustrates a data storage system including a number of datastorage containers hosted by a number of data storage assets accordingto various implementations of the invention.

FIG. 8 illustrates an operation of a load balancing mechanism for datastorage system according to various implementations of the invention.

DETAILED DESCRIPTION

FIG. 1 illustrates a data storage system 100 according to variousimplementations of the invention. Data storage system 100 includes aprocessor 120 and at least two data storage containers, illustrated inFIG. 1 as a first data storage container 135 in a first data storagespace 130 and a second data storage container 155 in a second datastorage space 150. According to various implementations of theinvention, a data record 110 is stored in both first data storagecontainer 135 and second data storage container 155 based on one or moredata values in data record 110 as will be described in further detailbelow. Data storage containers 135, 155 and data storage spaces 130, 150refer to logical data storage elements which may be stored on one ormore physical data storage assets (not otherwise illustrated in FIG. 1).According to various implementations of the invention, physical datastorage assets may include, but are not limited to servers, disks,memories, other non-transitory computer readable media, or otherphysical data storage assets including banks or farms of such physicaldata storage assets.

According to various implementations of the invention, processor 120 maybe any general purpose hardware computing processor configured viavarious executable programming instructions stored internally to orexternally from processor 120 in a computer readable medium, where whensuch programming instructions are executed by the computing processor,they cause the computing processor to perform various functions as wouldbe appreciated. When configured with such programming instructions, thegeneral purpose hardware computing processor becomes a particularprocessor that performs functions attributed to processor 120 asdescribed herein. According to various implementations of the invention,processor 120 may be a single hardware computing processor or aplurality of hardware computing processors. According to variousimplementations of the invention, processor 120 may be a dedicatedhardware computing processor configured to perform various functions ofprocessor 120 as described herein or a plurality of hardware computingprocessors distributed throughout data storage system 100, eachconfigured to perform one or more of the functions of processor 100 asdescribed herein.

According to various implementations of the invention, first datastorage space 130 and second data storage space 150 define separatespaces for aggregating, organizing and storing data records in a mannerthat optimizes responses to queries that may be applied against the datarecords in the respective data storage spaces 130, 150. According tovarious implementations of the invention, first data storage space 130aggregates, organizes and/or stores data records in data storagecontainer 135 based on a sequentially changing data value in each of thedata records. Such sequentially changing data value may be asequentially increasing data value or a sequentially decreasing datavalue. In some implementations of the invention, data records withsequentially increasing data values are stored in increasing sequentialorder; and data records with sequentially decreasing data values arestored in decreasing sequential order. This first data storage space issometimes referred to as a “sequential data storage space,” or as willbecome apparent below, a “spill space.”

For example, a date-time stamp in a data record is a sequentiallyincreasing data value—date-time stamps in data records will haveprogressively greater data values over time. Other sequentiallyincreasing data values may include, but are not limited to, othertemporal data values (i.e., time-based data values other than date-timestamps), transaction numbers, order numbers, or similar numericorderings of data values in the data records, or other sequentiallyincreasing data values.

According to various implementations of the invention, second datastorage space 150 aggregates, organizes and/or stores data records indata storage container 155 based on a data value in the data record thatresides in a “finite” space, and not “infinite” such as the sequentiallychanging data value. For example, a social security number is a datavalue that resides in a finite space as it has a finite range of values,namely 000-00-0000 to 999-99-9999. As another example, a last namestored as alphabetic characters in a fixed data field (e.g., 15characters wide, etc.) is a data value that resides in a finite space asit has a finite range of values, namely “A” to “ZZZZZZZZZZZZZZZ” Asanother example, a hash function computes a hash value based on one ormore data values in a data record; the hash value typically has a fixednumber of bits and hence resides in a finite space as would beappreciated. This second data storage space is sometimes referred to asa “finite data storage space,” or as will become apparent below, a“split space.”

In some implementations of the invention, second data storage space 150aggregates, organizes and/or stores data records in data storagecontainer 155 based on those data records sharing a common data value(or sharing a common range of data values) that resides in the finitespace such as, but not limited to, those data records sharing the sameuser name, social security number, website visited, or other common datavalue in the finite space. In some implementations of the invention,second data storage space 150 aggregates, organizes and/or stores datarecords that share the common data value (or common range of datavalues) in data storage container 155 based on an ordering of anotherdata value in the data record, typically, a date-time stamp (or similartime-based value), although any other ordering may be used as would beappreciated.

For example, data records 140 stored in data storage container 135 areorganized based on sequentially increasing data values x_(i), x_(i+1),xi+2, . . . x_(i+n) in first data storage space 130. In other words,x_(i)<x_(i+1)<x_(i+2) <. . . <X_(i+n). As illustrated, each data recordin plurality of data records 140 also includes a data value that is nota sequentially increasing data value (e.g., as illustrated, a , b , c .. . ). In some implementations, data records 140 in data storagecontainer 135 are ordered strictly based on the sequentially increasingdata values. In some implementations, data records 140 in data storagecontainer 135 are ordered loosely based on the sequentially increasingdata values based on when such data records are received and stored; inother words, some of the data records 140 may be received “out of order”such that the data record having the data value x_(i+2) is stored in thedata base within a few records before the data record having the datavalue x_(i+1). In some implementations of the invention, this minormisordering is tolerated because “append” operations require lessprocessing than “insert” operations as would be appreciated and can beaddressed when responding to queries. In some implementations, datarecords 140 received out of order are re-ordered, either periodically,or as they are received, as would be appreciated.

According to various implementations of the invention, data records 160stored in data storage container 155 are organized based on a commondata value or common range of data values in the finite space of seconddata storage space 150. In some implementations, data records 160 areordered based on the common data value or within the common range ofdata values. In these implementations, the data records may be ordered,for example, alphabetically or following some other ordering. In someimplementations of the invention, data records 160 are ordered based onwhen such data records are received. In these implementations, the datarecords are ordered based on their receipt by data storage system 100and not necessarily following some other ordering.

One benefit of various implementations of the invention is that havingand maintaining separate data storage containers 135, 155 from separatedata storage spaces 130, 150, respectively, improves response todifferent types of queries. For example, when the sequentially changingdata value of first data storage container 135 is a date-time stamp,data storage container 135 more readily services temporal-based queries.More particularly, data records before or after a certain time or withinor outside of a certain time range are more readily made against a datastorage that organizes its data records based on time. In essence, datastorage container 135 is “tuned” to temporal-base queries. While thesame query could be made against data storage container 155, such aquery would undoubtedly take longer to service as each data record wouldhave to be evaluated based on the temporal based query. Similarly, whenthe other data value is, for example, a user name, and data storagecontainer 155 stores its plurality of data records 160 based on username, data queries based on user name are more readily serviced by suchdata storage container 155 as would be appreciated.

In some implementations of the invention, data storage system 100includes a plurality of data storages 135 in different data storagespaces 130 to aggregate, organize and/or store data records based on oneor more different sequentially changing data value(s) in the datarecords. In some implementations of the invention, data storage system100 includes a plurality of data storages 155 in different data storagespaces 150 to aggregate, organize and/or store data records based on theone or more different data value(s) in the data records, where suchdifferent data value(s) reside in a finite data space. In someimplementations, the number and/or characteristics of data storages 135,155 may be selected based on the expected types of queries appliedagainst data storage system 100 as would be appreciated.

According to various implementations of the invention, processor 120receives a query 170 from, for example, a user of data storage system100. According to various implementations of the invention, processor120 determines which data storage space 130, 150 would be best torespond to query 170. For example, if query 170 is based on asequentially changing data value such as a date-time stamp, for example,query 170 may be applied against first data storage container 135. Ifquery 170 is based on a data value in a finite data space such as a hashvalue, query 170 may be applied against second data storage container155, for example.

FIG. 2 illustrates an operation 200 of data storage system 100 accordingto various implementations of the invention. In an operation 210,processor 120 receives new data record 110. In an operation 220,processor 120 causes new data record 110 to be stored in data storagecontainer 135 in first data storage space 130. In an operation 230,processor 120 causes new data record 110 to be stored in data storagecontainer 155 in second data storage space 150. In an operation 240,query 170, which is to be applied against data storage system 100, isreceived. A decision operation 250 determines whether query 170 is bestevaluated in the sequential data storage space or in the finite datastorage space. If query 170 is best evaluated in the sequential datastorage space, in an operation 260, query 170 is applied against datastorage container 135 in first data storage space 130 and a retrievedplurality of data records corresponding to query 170 is retrieved fromdata storage container 135. If query 170 is best evaluated in the finitedata storage space, in an operation 270, query 170 is applied againstdata storage container 155 in second data storage space 150 and aretrieved plurality of data records corresponding to query 170 isretrieved from data storage container 155.

As new data records are added to data storage system 100, data storagecontainers 135, 155 may eventually reach their respective capacities.Some implementations of the invention provide a mechanism for handlingadditional new records as data storage containers 135, 155 approachtheir respective capacities. In reference to FIGS. 3, 4 and 5 and inaccordance with various implementations of the invention, new datastorage containers 135N, 155N are created, opened or otherwise broughton-line in data storage system 100 based on whether existing datastorage container 135E, 155E that is approaching capacity corresponds tofirst data storage space 130 or second data storage space 150.

According to various implementations of the invention, data storagecontainers 135, 155 typically have a predetermined capacity, eitherphysically or logically, as would be appreciated. For example, each datastorage container 135, 155 may store twenty (20) million data records orother number of data records. When an existing data storage container135E, 155E fills, a new data storage container 135N, 155N must bebrought online (e.g., created, instantiated, etc.) to aggregate,organize and store new data records.

According to various implementations of the invention, when data storagecontainer 135E reaches its capacity (i.e., at capacity, within a certainthreshold of its capacity, etc.), a new data storage container 135N isbrought online to store additional new data records. Because datarecords in data storage space 130 are stored sequentially based on adata value in the data record, the new data record (and each subsequentone thereafter until the new data storage container 135N reaches itscapacity) is simply stored in the new data storage container 135N.According to various implementations of the invention, when data storagecontainer 135E reaches its capacity, the new data record in data storagespace 130 “spills” into a new data storage container 135N.

According to various implementations of the invention, when existingdata storage container 155E reaches its capacity, one or more new datastorage containers 155N are brought online to accommodate the new datarecords. Because data records in data storage space 150 are based ondata values in the data record that reside in a finite data space, thefinite data space is “split” into one or more contiguous “subspaces,”each of which is stored in its own data storage container 155E, 155N.For example, if existing data storage container 155E presently storesdata records based on a user last name and the entire finite spaceresides in data storage container 155 (i.e., last names beginning with‘A’ to ‘Z’), the entire finite space is split, into one or morecontiguous subspaces. For example, as illustrated in FIG. 4, if thefinite space is split into two subspaces (illustrated as a subspace 150Aand a subspace 150B), data records 160A having user last names beginningwith ‘A’ to ‘M’ might be stored on the existing data storage container155E and data records 160B having user last names beginning with ‘N’ to‘Z’ might be stored on the new data storage container 155N. In anotherexample illustrated in FIG. 5, if the finite space is split into threecontiguous subspaces (illustrated as a subspace 150A, a subspace 150B,and a subspace 150C), data records 160A having user last names beginningwith ‘A’ to ‘H’ might be stored on the existing data storage container155E, data records 160B having user last names beginning with ‘I’ to ‘P’might be stored on a first new data storage container 155N_(i), and datarecords 160C having user last names beginning with ‘Q’ to ‘Z’ are storedon a second new data storage container 155N₁. In some implementations ofthe invention, other numbers of subspaces may be used as well asdifferent partitions for the subspaces. In some implementations, thedata storage containers 155E, 155N,, and their respective subspacesthemselves may be further partitioned as they reach their respectivecapacities into one or more sub-subspaces as would be appreciated.According to various implementations of the invention, when data storagecontainer 155 reaches its capacity, the new data record forces datastorage space 150 may be “split” into one or more data storage subspaces150, each stored in a separate data storage container 155 as would beappreciated.

In some implementations of the invention, in order to accommodate asplit of a data storage space 150 into one or more subspaces, eachresiding in a separate data storage container 155E, 155N,, each of thedata records 160 in the existing data storage container 155 ispositioned or moved to the appropriate data storage container 155E,155N_(i), after the data storage space 150 is split into one or moresubspaces as discussed above.

FIG. 6 illustrates an operation of a data storage system as data storagecontainers approach capacity according to various implementations of theinvention. In an operation 610, data storage system 100 receives a newdata record 110 to be stored in one or more data storage containers135E, 155E. In a decision operation 620, data storage system 100determines whether a particular data storage container 135E, 155E is atcapacity. In a decision operation 630, data storage system 100determines whether the particular data storage container 135E, 155Estores data records based on a sequentially changing data value in thedata records (i.e., a “spill” storage container) or whether theparticular data storage container 135E, 155E stores data records basedon a data value residing in a finite data space (i.e., a “split” storagecontainer). If the particular data storage container 135E, 155E is a“spill” storage container, in an operation 640, new data record “spills”over to a new data storage container 135N. If the particular datastorage container 135E, 155E is a “split” storage container, in anoperation 650, the plurality of stored data records 160 in existing datastorage container 155E is “split” with new data storage container 155Nand in an operation 660, new data record 110 is added to either existingdata storage container 155E or new data storage container 155N asdiscussed above.

According to various implementations of the invention, data storagesystem 100 may provide a load balancing mechanism for distributing datastorage containers 135E, 135N, 155E, and 155N_(i) across a plurality ofdata storage assets. FIG. 7 illustrates data storage system 100 indifferent detail for purposes of describing this load balancingmechanism in accordance with various implementations of the invention.Data storage system 100 includes processor 120 and a plurality of datastorage assets 710 (illustrated as a data storage asset 710A, a datastorage asset 710B, a data storage asset 710C, and a data storage asset710D). As discussed above, each data storage asset 710 comprisesphysical hardware configured to host one or more data storage containers720 (illustrated in FIG. 7 as data storage asset 710A hosting a datastorage container 720A₁, a data storage container 720A₂, . . . and adata storage container 720A_(m); data storage asset 710B hosting a datastorage container 720B₁, a data storage container 720B₂, . . . and adata storage container 720B_(n); data storage asset 710C hosting a datastorage container 720C₁, a data storage container 7200 ₂, . . . and adata storage container 720C_(p); and data storage asset 710D hosting adata storage container 720D₁, a data storage container 720D₂, . . . anda data storage container 720D_(q). Data storage containers 720collectively refer to the various data storage containers 135 (includingdata storage containers 135N and data storage containers 135E) and datastorage containers 155 (including data storage containers 155N and datastorage containers 155E) described above.

According to various implementations of the invention, data storagesystem 100 distributes data storage containers 720 across data storageassets to provide high availability to data records 110 stored in datastorage containers 720 and/or to provide fast response time to queriesmade against these data records 110. According to variousimplementations of the invention, data storage system 100 provides highavailability and fast response time to a plurality of customers spreadacross data storage assets 710 without having to dedicate individualdata storage assets to a given customer. By spreading out data recordsacross data storage assets 710, queries may become highly parallelizedthereby reducing response time to the queries while simultaneouslyreducing an overall number of data storage assets 710 required by datastorage system to meet a given performance level.

According to various implementations of the invention, each data storagecontainer 720 may have one or more corresponding replica data storagecontainer (not otherwise illustrated) that mirrors data storagecontainer 720 for purposes of redundancy and backup. In someimplementations, replica data storage containers may also be used toprovide further parallelization of data storage system 100. In otherwords, replica data storage containers may be used to directly respondto the query, or portions of the query, to increase the number ofpotential data storage assets 710 responding to the query. This ensuresthat if the data storage asset 710 hosting a particular data storagecontainer 720 is busy responding to an unrelated query, the data storageasset 710 hosting a replica of the particular data storage container 720may respond to the query. In some implementations of the invention, eachdata storage container 720 is associated with one replica data storagecontainer. In some implementations of the invention, each data storagecontainer is associated with two or more replica data storagecontainers. According to various implementations of the invention, anumber of replicas utilized by data storage system 100 is based, inpart, on necessary performance requirements of data storage system 100and costs of data storage assets 710 as would be appreciated. Forpurposes of this description, data storage containers and replica datastorage containers operate within data storage system 100 in a similarmanner. In other words, no distinction is made by data storage system100 as to whether any given data storage container 720 is a replica, andfor purposes of this description, data storage containers and theirreplicas are referred to collectively as data storage containers 720.

In order to be highly available and highly scalable, data storage system100 may distribute data storage containers 720 across data storageassets 710. When a request to create, instantiate, or otherwise bringonline, a new data storage container 720 (such as discussed above withregard to new data storage containers 135N, 155N), data storage system100, via processor 120, determines which of data storage assets 710hosts data storage containers 720 that are “farthest away” from the datastorage container 720 that reached its capacity (i.e., data storagecontainer 135E, 155E). This ensures that a given data storage asset 710does not host contiguous data storage containers 720. In other words, anew data storage container 720 should preferably not be hosted by thesame data storage asset 710 as the existing data storage container 720.Likewise, a data storage container 720 and its replica should preferablynot be hosted together by the same data storage asset 710.

In some implementations of the invention, the data storage asset 710deemed “farthest away” may be selected by determining which data storageasset 710 hosts “the farthest of the closest” data storage container 720(described in further detail below). In some implementations of theinvention, the data storage asset 710 deemed “farthest away” may beselected by determining which data storage asset 710 hosts the fewestnumber of data storage containers 720 or that hosts the least amount ofdata or data records 110. Other mechanisms for determining which datastorage asset 710 is deemed “farthest away” may be used as would beappreciated.

In some implementations of the invention, additional information basedon the data records 110 and/or data storage containers 720 is used todetermine which data storage asset 710 is deemed “farthest away.” Forexample, in some implementations where data storage system 100 hostsdata for two or more customers, the data storage asset 710 deemed“farthest away” is determined relative to data storage containers 720for the relevant customer. This ensures that a given customers' datarecords 110 (and their data storage containers 720) are distributedthroughout data storage system 100. Thus, in some implementations of theinvention, the data storage asset 710 deemed “farthest away” may beselected by determining which data storage asset 710 hosts “a farthestof the closest” data storage containers 720 for the particular customer.Similarly, in some implementations of the invention, the data storageasset 710 deemed “farthest away” may be selected by determining whichdata storage asset 710 hosts the fewest number of data storagecontainers 720 for the particular customer or that hosts the leastamount of data or data records 110 for the particular customer.

Determining which data storage asset 710 is deemed “farthest away” mayrely on other information from data records 110 in addition to orinstead of the particular customer associated with the data records 110as in the example described above. Such information may include, but isnot limited to, a buyer, a website host, a website owner, a websiteuser, or other information by which data records 110 can bediscriminated.

In some implementations of the invention, determining which data storageasset 710 is deemed “farthest away” may rely on whether data storagecontainer 720 is a split space data storage container or a spill spacedata storage container. For example, in some implementations of theinvention, the data storage asset 710 deemed “farthest away” from anexisting split space data storage container 720 (i.e., data storagecontainer 155E) may be selected by determining which data storage asset710 hosts the fewest number of data storage containers 720 or stores theleast amount of data or data records 110; whereas the data storage asset710 deemed “farthest away” from an existing spill space data storagecontainer (i.e., data storage container 135E) may be selected bydetermining which data storage asset 710 hosts the farthest of theclosest data storage container 720.

As referenced above, the data storage asset 710 deemed “farthest away”may be selected by determining which data storage asset 710 hosts “thefarthest of the closest” data storage container 720. In someimplementations of the invention, this may be accomplished by firstdetermining, for each of data storage assets 710, which data storagecontainer 720 hosted on the respective data storage asset 710 isclosest, in terms of sequential range, to the existing data storagecontainer 720.

In some implementations of the invention, each data storage container ina sequential data storage space stores a sub-range of the data values inthe sequential data space. These sub-ranges are more or less “distant”from the sub-range of the existing storage container 720 (for example,by the sum of the sub-ranges that lie in between). In this context, insome implementations of the invention, the data storage containers 720on each data storage asset 710 are ordered based on the relative“distance” of their respective sub-ranges to that of the existing datastorage container 720 from closest to farthest. More specifically, datastorage containers 720A₁, 720A₂, . . . , and 720A_(m) hosted on datastorage asset 710A are ordered based on the distance between theirrespective sub-ranges and that of the existing data storage containerfrom closest to farthest; data storage containers 720B₁, 720B₂, . . . ,and 720B_(n) hosted on data storage asset 710B are ordered based on thedistance between their respective sub-ranges and that of the existingdata storage container from closest to farthest; data storage containers7200, 7200 ₂, . . . , 7200 _(p) hosted on data storage asset 7100 areordered based on the distance between their respective sub-ranges andthat of the existing data storage container from closest to farthest;and data storage containers 720D₁, 720D₂, . . . , 720D_(q) hosted ondata storage asset 710D are ordered based on the distance between theirrespective sub-ranges and that of the existing data storage containerfrom closest to farthest. In some implementations of the invention, oncethe closest data storage container 720 to the existing data storagecontainer is determined for each data storage asset 710, the farthest ofthese from the existing data storage container is then determined. Then,in some implementations of the invention, the data storage asset 710that hosts the farthest of the closest data storage containers may beselected to host the new data storage container 720 and a new datastorage container 720 may be created on the selected data storage asset710.

In some implementations of the invention, two or more data storageassets 710 may be determined as hosting the farthest of the closest datastorage container 720. In such situations, the data storage asset 710that stores the least amount of data or data records, or that hosts thefewest number of data storage containers 720 is determined between thesetwo or more data storage assets 710. Then, in some implementations ofthe invention, the data storage asset 710 that stores the least amountof data or data records, or that hosts the fewest number of data storagecontainers 710 may be selected to host the new data storage container720 and a new data storage container 720 may be created on the selecteddata storage asset 710.

In some implementations of the invention, two or more data storageassets 710 may be determined as storing the least amount of data or datarecords 110, or that host the fewest number of data storage containers.In such situations, any one of the data storage assets 710 may beselected to host the new data storage container 720 and a new datastorage container 720 may be created on the selected data storage asset710.

FIG. 8 illustrates an operation 800 of a load balancing mechanism fordata storage system 100 according to various implementations of theinvention. In a decision operation 810, processor 120 determines whetherto create a new spill space container 135N or a new split spacecontainer 155N. If a new split space container 155N is to be created,processing continues at an operation 820; if a new spill space container135N, processing continues at an operation 850.

In an operation 820, processor 120 determines which data storageasset(s) 710 hosts the fewest number of data storage containers 720. Ina decision operation 830, processor 120 determines whether two or moredata storage assets 710 host the fewest number of data storagecontainers 720. If so, processing continues at an operation 835. If not,processing continues at an operation 890.

In operation 835, processor 120 selects one of the two or more datastorage assets 710 to host the new split space data storage container155N. In an operation 840, processor 120 creates a new data storagecontainer 720 (corresponding to new data storage container 155N) on theselected data storage asset 710.

In an operation 890, processor 120 selects the single determined datastorage asset 710 to host the data storage container 720, and processingcontinues at operation 840.

In an operation 850, processor 120 determines which data storageasset(s) 710 hosts the farthest of the closest data storage containers710. In a decision operation 860, if two or more data storage assets 710host the farthest of the closest data storage container 710, thenprocessing continues at an operation 870; otherwise processing continuesat operation 890. In operation 870, processor 120 determines which datastorage asset(s) 710 hosts the fewest number of data storage containers710. In a decision operation 880, if two or more data storage assets 710host the fewest number of data storage containers 710, then processingcontinues at an operation 835 where one of them is selected; otherwiseprocessing continues at operation 890.

While the invention has been described herein in terms of variousimplementations, it is not so limited and is limited only by the scopeof the following claims, as would be apparent to one skilled in the art.These and other implementations of the invention will become apparentupon consideration of the disclosure provided above and the accompanyingfigures. In addition, various components and features described withrespect to one implementation of the invention may be used in otherimplementations as would be understood.

What is claimed is:
 1. A method for creating storage containerscomprising: receiving, via a computing processor, a new data record tobe stored in a data storage container, the data storage containerconfigured to store a fixed number of stored data records, the datastorage container storing a plurality of stored data records;determining whether a number of the plurality of stored data records inthe data storage container is within a certain threshold of the fixednumber of stored data records for the data storage container; for thedata storage container that resides in a sequential data space: openinga new data storage container, storing the new data record in the newdata storage container, and closing the data storage container to newdata records; and for the data storage container that resides in afinite data space: opening a new data storage container, splitting theplurality of stored data records in the data storage container into afirst plurality of stored data records and a second plurality of storeddata records, wherein each of the first plurality of stored data recordshas a data value within a first range, and wherein each of the secondplurality of stored data records has the data value within a secondrange, storing the first plurality of stored data records in the datastorage container, storing the second plurality of the stored datarecords in the new data storage container, and storing the new datarecord in either the data storage container or the new data storagecontainer based on whether the data value in the new data recordcorresponds to the first range or the second range.
 2. The method ofclaim 1, wherein the retaining the first plurality of the stored datarecords in the data storage container comprises removing the secondplurality of the stored data records from the data storage container. 3.The method of claim 1, wherein splitting the plurality of stored datarecords in the data storage container into a first plurality of storeddata records and a second portion of stored data records comprisesevenly splitting the plurality of stored data records in the datastorage container into the first plurality of stored data records andthe second portion of stored data records.
 4. The method of claim 1,wherein splitting the plurality of stored data records in the datastorage container into a first plurality of stored data records and asecond portion of stored data records comprises splitting the pluralityof stored data records in the data storage container into the firstplurality of stored data records and the second portion of stored datarecords along an existing organizational boundary in the plurality ofstored data records in the data storage container.
 5. The method ofclaim 1, wherein splitting the plurality of stored data records in thedata storage container into a first plurality of stored data records anda second plurality of stored data records comprises splitting theplurality of stored data records in the data storage container into thefirst plurality of stored data records, the second plurality of storeddata records, and one or more third pluralities of stored data records.6. The method of claim 5, wherein each of the first plurality of storeddata records has a data value within the first range, wherein each ofthe second plurality of stored data records has the data value withinthe second range, and wherein each of the one or more third plurality ofstored data records has the data value within a third range.
 7. Themethod of claim 1, wherein splitting the plurality of stored datarecords in the data storage container into a first plurality of storeddata records and a second plurality of stored data records comprisessplitting a data storage space of the plurality of stored data recordsinto a first subspace having the first range and a second subspacehaving the second range such that the first range and the second rangecorrespond to an entire range of the data storage space.
 8. A method forcreating storage containers comprising: receiving, via a computingprocessor, a first new data record to be stored in a first data storagecontainer, the first data storage container comprising a plurality offirst stored data records; determining that a number of the plurality offirst stored data records in the first data storage container is at ornear capacity of the first data storage container; determining that thefirst data storage container stores data records in a sequential dataspace and: opening a new first data storage container, storing the newdata record in the new first data storage container, and closing thefirst data storage container to new data records; and receiving, via acomputing processor, a second new data record to be stored in a seconddata storage container, the second data storage container comprising aplurality of second stored data records; determining that the seconddata storage container stores data records in a finite data space and:opening a new second data storage container, splitting the plurality ofsecond stored data records in the second data storage container into afirst portion of the plurality of second stored data records and asecond portion of the plurality of second stored data records, storingthe first portion of the plurality of the second stored data records inthe second data storage container, storing the second portion of theplurality of the second stored data records in the new second datastorage container, and storing the new data record in either the seconddata storage container or the new second data storage container.